Optimal. Leaf size=26 \[ \frac{\tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a-b x^2}}\right )}{\sqrt{b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0048264, antiderivative size = 26, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {217, 203} \[ \frac{\tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a-b x^2}}\right )}{\sqrt{b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 217
Rule 203
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{a-b x^2}} \, dx &=\operatorname{Subst}\left (\int \frac{1}{1+b x^2} \, dx,x,\frac{x}{\sqrt{a-b x^2}}\right )\\ &=\frac{\tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a-b x^2}}\right )}{\sqrt{b}}\\ \end{align*}
Mathematica [A] time = 0.0055323, size = 26, normalized size = 1. \[ \frac{\tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a-b x^2}}\right )}{\sqrt{b}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 21, normalized size = 0.8 \begin{align*}{\arctan \left ({x\sqrt{b}{\frac{1}{\sqrt{-b{x}^{2}+a}}}} \right ){\frac{1}{\sqrt{b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.20117, size = 171, normalized size = 6.58 \begin{align*} \left [-\frac{\sqrt{-b} \log \left (2 \, b x^{2} - 2 \, \sqrt{-b x^{2} + a} \sqrt{-b} x - a\right )}{2 \, b}, -\frac{\arctan \left (\frac{\sqrt{-b x^{2} + a} \sqrt{b} x}{b x^{2} - a}\right )}{\sqrt{b}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.05413, size = 48, normalized size = 1.85 \begin{align*} \begin{cases} - \frac{i \operatorname{acosh}{\left (\frac{\sqrt{b} x}{\sqrt{a}} \right )}}{\sqrt{b}} & \text{for}\: \frac{\left |{b x^{2}}\right |}{\left |{a}\right |} > 1 \\\frac{\operatorname{asin}{\left (\frac{\sqrt{b} x}{\sqrt{a}} \right )}}{\sqrt{b}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 2.08344, size = 38, normalized size = 1.46 \begin{align*} -\frac{\log \left ({\left | -\sqrt{-b} x + \sqrt{-b x^{2} + a} \right |}\right )}{\sqrt{-b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]